package com.ym.b2b.payment.controller.fmcib;

import com.ym.b2b.payment.vo.PaymentBean;

import java.util.Date;

/**
 * 支付
 * Created by Administrator on 2015/7/27.
 */
public class PayRequestFmcibParam  extends PaymentBean{

    //支付请求

    private String url;                                 //请求地址

    private String version;                             //版本号（平台定义，暂为01）

    private String custId;                              //对应的custId，在支付平台登记

    private String payerCode;                           //付款人编号

    private String payerName;                           //付款人名称

    private String payerMobilePhone;                    //付款人移动号码

    private String orderCode;                           //订单编号

    private String orderTitle;                          //订单标题（可以为空值）

    private String orderDate;                           //订单日期，yyyy-MM-dd HH:mm:ss

    private Double orderAmount;                         //支付金额，12.34（两位小数）

    private String returnURL;                           //完成支付时的页面回跳地址，兴业B2B、B2C专用

    private String cancelURL;                           //空

    private String paymentOption;                       //空

    private String customField;                         //空

    private String signature;                           //数字签名

    //支付成功回调

    private String paymentModeId;                       //支付方式编号（如：cib_b2c）

    private String paymentDate;                           //支付日期，yyyy-MM-dd HH:mm:ss

    private Double paymentAmount;                       //支付金额，12.34（两位小数）

    private String paymentReference;                    //支付交易流水号。

    private String paymentReferenceAlias;               //支付交易方式别名 （可为空）

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public String getPayerCode() {
        return payerCode;
    }

    public void setPayerCode(String payerCode) {
        this.payerCode = payerCode;
    }

    public String getPayerName() {
        return payerName;
    }

    public void setPayerName(String payerName) {
        this.payerName = payerName;
    }

    public String getPayerMobilePhone() {
        return payerMobilePhone;
    }

    public void setPayerMobilePhone(String payerMobilePhone) {
        this.payerMobilePhone = payerMobilePhone;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrderTitle() {
        return orderTitle;
    }

    public void setOrderTitle(String orderTitle) {
        this.orderTitle = orderTitle;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public Double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getReturnURL() {
        return returnURL;
    }

    public void setReturnURL(String returnURL) {
        this.returnURL = returnURL;
    }

    public String getCancelURL() {
        return cancelURL;
    }

    public void setCancelURL(String cancelURL) {
        this.cancelURL = cancelURL;
    }

    public String getPaymentOption() {
        return paymentOption;
    }

    public void setPaymentOption(String paymentOption) {
        this.paymentOption = paymentOption;
    }

    public String getCustomField() {
        return customField;
    }

    public void setCustomField(String customField) {
        this.customField = customField;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getPaymentModeId() {
        return paymentModeId;
    }

    public void setPaymentModeId(String paymentModeId) {
        this.paymentModeId = paymentModeId;
    }

    public String getPaymentDate() {
        return paymentDate;
    }

    public void setPaymentDate(String paymentDate) {
        this.paymentDate = paymentDate;
    }

    public Double getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(Double paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public String getPaymentReference() {
        return paymentReference;
    }

    public void setPaymentReference(String paymentReference) {
        this.paymentReference = paymentReference;
    }

    public String getPaymentReferenceAlias() {
        return paymentReferenceAlias;
    }

    public void setPaymentReferenceAlias(String paymentReferenceAlias) {
        this.paymentReferenceAlias = paymentReferenceAlias;
    }

    @Override
    public String toString() {
        return "PayRequestFmcibParam{" +
                ", version='" + version + '\'' +
                ", custId='" + custId + '\'' +
                ", payerCode='" + payerCode + '\'' +
                ", payerName='" + payerName + '\'' +
                ", payerMobilePhone='" + payerMobilePhone + '\'' +
                ", orderCode='" + orderCode + '\'' +
                ", orderTitle='" + orderTitle + '\'' +
                ", orderDate='" + orderDate + '\'' +
                ", orderAmount=" + orderAmount +
                ", returnURL='" + returnURL + '\'' +
                ", cancelURL='" + cancelURL + '\'' +
                ", paymentOption='" + paymentOption + '\'' +
                ", customField='" + customField + '\'' +
                ", signature='" + signature + '\'' +
                ", paymentModeId='" + paymentModeId + '\'' +
                ", paymentDate=" + paymentDate +
                ", paymentAmount=" + paymentAmount +
                ", paymentReference='" + paymentReference + '\'' +
                ", paymentReferenceAlias='" + paymentReferenceAlias + '\'' +
                '}';
    }
}
